package com.ymatou.iapi.trading.sellerquery.parameter.entities;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.List;

import com.ymatou.iapi.trading.sellerquery.parameter.resp.RefundBillResp;

/**
 * 订单退款信息
 * 
 * @author songyefeng
 *
 */
public class RefundBill {
	private long OrderId;
	private BigDecimal RrefundAmount = BigDecimal.ZERO;
	private String RefundBillNo;
	private List<RefundBillProduct> RefundBillProductList;
	private BigDecimal RefundedAmountOfCash = BigDecimal.ZERO;
	private BigDecimal RefundedAmountOfGift = BigDecimal.ZERO;

	public long getOrderId() {
		return OrderId;
	}

	public void setOrderId(long orderId) {
		OrderId = orderId;
	}

	public BigDecimal getRrefundAmount() {
		return RrefundAmount;
	}

	public void setRrefundAmount(BigDecimal rrefundAmount) {
		RrefundAmount = rrefundAmount;
	}

	public String getRefundBillNo() {
		return RefundBillNo;
	}

	public void setRefundBillNo(String refundBillNo) {
		RefundBillNo = refundBillNo;
	}

	public List<RefundBillProduct> getRefundBillProductList() {
		return RefundBillProductList;
	}

	public void setRefundBillProductList(
			List<RefundBillProduct> refundBillProductList) {
		RefundBillProductList = refundBillProductList;
	}

	public BigDecimal getRefundedAmountOfCash() {
		return RefundedAmountOfCash;
	}

	public void setRefundedAmountOfCash(BigDecimal refundedAmountOfCash) {
		RefundedAmountOfCash = refundedAmountOfCash;
	}

	public BigDecimal getRefundedAmountOfGift() {
		return RefundedAmountOfGift;
	}

	public void setRefundedAmountOfGift(BigDecimal refundedAmountOfGift) {
		RefundedAmountOfGift = refundedAmountOfGift;
	}

	public static void main(String[] args) {
		Class c = RefundBill.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verify(expect.get" + s
					+ "(), actual.get" + s + "(),\"验证" + s + "\");");
		}
	}
}
